//
//  RefreshBaseTableViewController.h
//  AriseSamePro
//
//  Created by 包日守 on 15/10/25.
//  Copyright © 2015年 Arise. All rights reserved.
//

#import <UIKit/UIKit.h>

#import "AROnlineCountView.h"

@interface RefreshBaseTableViewController : UITableViewController

@property (nonatomic) NSArray *dataArray;
@property (nonatomic,weak) UIActivityIndicatorView *ac;
@property (atomic) int initialized;
@property (nonatomic,weak) AROnlineCountView *rightView;
@property (nonatomic) NSString *nextURL;

@property (nonatomic) NSString *serverURL;
@property (nonatomic) NSString *cacheURL;
//第一次进入该频道时  不进行上拉加载更多
@property (nonatomic) BOOL canLoadMore;

- (void) setServerURL:(NSString *)serverURL WithCacheURL: (NSString *) cacheURL;


- (void) loadDataMore;
- (void) loadDataInServer;
- (void) loadDataInCache;

- (void) refreshAction;
- (void)creatRefreshing;
- (void) createAddData;
- (void) loadDataInServerComplete;

- (void) createNavigationWithChannel;
- (void) backButtonClick;




@end
